Exynos5: Fix compiler warnings due to clock_get_periph_rate
authorAkshay Saraswat <[email protected]>
Wed, 4 Feb 2015 10:29:59 +0000 (15:59 +0530)
committerMinkyu Kang <[email protected]>
Fri, 13 Feb 2015 08:23:06 +0000 (17:23 +0900)
commitd606ded1dbabba832e7150bc8ebb0719eadb42ef
tree2165fba1ad2db08008d04874cfcac4908c9249a1
parent483e49bfd775adb15102418a72c7fb02ef51fd79
Exynos5: Fix compiler warnings due to clock_get_periph_rate

Apparently, members of clk_bit_info array do not map correctly
to the members of enum periph_id. This mapping got broken after
we changed periph_id(s) to reflect interrupt number instead of
their position in a sequence. This patch intends to fix above
mentioned issue.

Signed-off-by: Akshay Saraswat <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Tested-by: Simon Glass <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
arch/arm/cpu/armv7/exynos/clock.c